import {Subject} from 'rxjs';
import {TagData} from '../../entity/tag-data.model';

export interface IHistory {
  getHistoriesWithTimer(timerInterval: number, codes: string[], time: Date): Subject<TagData[]>

  getHistoriesWithTimer(timerInterval: number, codes: string[], start: Date, end: Date): Subject<TagData[]>

  getHistoriesWithTimer(timerInterval: number, codes: string[], start: Date, end: Date, interval: number): Subject<TagData[]>

  getHistoriesWithTimer(timerInterval: number, codes: string[], start: Date, end?: Date, interval?: number): Subject<TagData[]>

  [prop: string]: any
}
